import request from '@/utils/request'

/**
 *  分页获取用户
 * @param userPage 分页查询参数
 */
export function getUserPage(userPage) {
  return request({
    url: '/user/getPage',
    method: 'post',
    params: userPage
  })
}
export function saveUser(user) {
  return request({
    url: '/user/saveUser',
    method: 'post',
    data: user
  })
}
